package com.ruoyi.dynamic.model.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.pojo.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;


@Data
@EqualsAndHashCode(callSuper = false)
@TableName("youban_room_record")
@ApiModel(value = "RoomRecord对象", description = "房间进入记录表")
public class RoomRecord extends BaseEntity<RoomRecord> {

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "房间id")
    private Long roomId;

    @ApiModelProperty(value = "退出时间")
    private Date quitTime;

    @ApiModelProperty(value = "观看时长单位秒")
    private Integer watchTime;

    @ApiModelProperty(value = "是否在观看 0是1否")
    private Integer isOnLine;

    @ApiModelProperty(value = "是否房间内关注")
    private Integer isAttention;

    @ApiModelProperty("用户头像")
    private String userPhoto;

    @ApiModelProperty("用户昵称")
    private String userName;


}
